package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};

/**
 * ${table.comment!} 服务类
 *
 * @author ${author}
 * @since ${date}
 */
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
    /**
     * 增加${table.comment!?replace("表","")}接口
     *
     * @param ${entityNameLowerCase}DTO
     */
    void add(${entityNameUpperCase}DTO ${entityNameLowerCase}DTO);
    
    /**
     * 编辑${table.comment!?replace("表","")}接口
     *
     * @param ${entityNameLowerCase}DTO
     */
    void update(${entityNameUpperCase}DTO ${entityNameLowerCase}DTO);
    
    /**
     * ${table.comment!?replace("表","")}详细接口
     *
     * @param ${entityNameLowerCase}DTO
     * @return
     */
    ${entityNameUpperCase}VO detail(${entityNameUpperCase}DTO ${entityNameLowerCase}DTO);

    /**
     * ${table.comment!?replace("表","")}列表查询接口
     *
     * @param ${entityNameLowerCase}DTO
     * @return
     */
    Pair<List<${entityNameUpperCase}VO>, Long> list(${entityNameUpperCase}DTO ${entityNameLowerCase}DTO);

    /**
     * 删除${table.comment!?replace("表","")}接口
     *
     * @param ${entityNameLowerCase}DTO
     */
    void delete(${entityNameUpperCase}DTO ${entityNameLowerCase}DTO);
}
